package com.example.workshop.lesson8;

import com.example.workshop.lesson8.Filter;
import org.springframework.stereotype.Component;

@Component
public class ContentBasedFilter implements Filter {
    public ContentBasedFilter() {
        super();
    }

    public String[] getRecommendations(String movie) {
    //返回推荐按电影
        return new String[] {"火星救援","星球大战","星际穿越"};
    }
}
